<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTLegendEntry.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_legend_entry_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTLegendEntry.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &quot;<a class="code" href="_c_p_t_definitions_8h.html">CPTDefinitions.h</a>&quot;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#import &lt;QuartzCore/QuartzCore.h&gt;</span>
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_plot.html" title="An abstract plot class.">CPTPlot</a>;
<a name="l00006"></a>00006 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_text_style.html" title="Immutable wrapper for various text style properties.">CPTTextStyle</a>;
<a name="l00007"></a>00007 
<a name="l00008"></a><a class="code" href="interface_c_p_t_legend_entry.html">00008</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_legend_entry.html" title="A graph legend entry.">CPTLegendEntry</a> : <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>&gt; {
<a name="l00009"></a>00009     <span class="keyword">@private</span>
<a name="l00010"></a><a class="code" href="interface_c_p_t_legend_entry.html#aba754fa1dd6e59c892eef94715eabfc7">00010</a>     <a class="code" href="_c_p_t_definitions_8h.html#abd26af4304957387867e6e9e8cef1576" title="A custom definition for ARC weak references that falls back to unsafe unretained values on older plat...">__cpt_weak</a> <a class="code" href="interface_c_p_t_plot.html" title="An abstract plot class.">CPTPlot</a> *<a class="code" href="interface_c_p_t_legend_entry.html#aba754fa1dd6e59c892eef94715eabfc7" title="The plot associated with this legend entry.">plot</a>;
<a name="l00011"></a><a class="code" href="interface_c_p_t_legend_entry.html#aeef62e6c5b3de0e2461e868d1c209bf6">00011</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> <a class="code" href="interface_c_p_t_legend_entry.html#aeef62e6c5b3de0e2461e868d1c209bf6" title="index The zero-based index of the legend entry for the given plot.">index</a>;
<a name="l00012"></a><a class="code" href="interface_c_p_t_legend_entry.html#af0478a3dfa3c92e94542e36e5119c9a7">00012</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> <a class="code" href="interface_c_p_t_legend_entry.html#af0478a3dfa3c92e94542e36e5119c9a7" title="The row number where this entry appears in the legend (first row is 0).">row</a>;
<a name="l00013"></a><a class="code" href="interface_c_p_t_legend_entry.html#a80ba063a0b18267ac5b9cb27ab46e611">00013</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> <a class="code" href="interface_c_p_t_legend_entry.html#a80ba063a0b18267ac5b9cb27ab46e611" title="The column number where this entry appears in the legend (first column is 0).">column</a>;
<a name="l00014"></a><a class="code" href="interface_c_p_t_legend_entry.html#a5f4dde93002e42ab2b89e7165d9e69a2">00014</a>     <a class="code" href="interface_c_p_t_text_style.html" title="Immutable wrapper for various text style properties.">CPTTextStyle</a> *<a class="code" href="interface_c_p_t_legend_entry.html#a5f4dde93002e42ab2b89e7165d9e69a2" title="The text style used to draw the legend entry title.">textStyle</a>;
<a name="l00015"></a>00015 }
<a name="l00016"></a>00016 
<a name="l00019"></a>00019 <span class="keyword">@property</span> (nonatomic, readwrite, <a class="code" href="_c_p_t_definitions_8h.html#a1133842e0f1c9446242d6a2ce34728ee" title="A custom definition for ARC weak properties that falls back to assign on older platforms.">cpt_weak_property</a>) <a class="code" href="_c_p_t_definitions_8h.html#abd26af4304957387867e6e9e8cef1576" title="A custom definition for ARC weak references that falls back to unsafe unretained values on older plat...">__cpt_weak</a> <a class="code" href="interface_c_p_t_plot.html" title="An abstract plot class.">CPTPlot</a> *plot;
<a name="l00020"></a>00020 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> index;
<a name="l00022"></a>00022 
<a name="l00025"></a>00025 <span class="keyword">@property</span> (nonatomic, readwrite, retain) <a class="code" href="interface_c_p_t_text_style.html" title="Immutable wrapper for various text style properties.">CPTTextStyle</a> *textStyle;
<a name="l00027"></a>00027 
<a name="l00030"></a>00030 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> row;
<a name="l00031"></a>00031 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> column;
<a name="l00032"></a><a class="code" href="interface_c_p_t_legend_entry.html#ad5c0200e139f8a75490055341fe3e8a7">00032</a> <span class="keyword">@property</span> (nonatomic, readonly, assign) <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> titleSize;
<a name="l00034"></a>00034 
<a name="l00037"></a>00037 -(void)drawTitleInRect:(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a>)rect inContext:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)context scale:(CGFloat)scale;
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>CPTLegendEntry.h</b>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
